import { IParam } from '@/core';
import { PropType } from 'vue';

declare type contentType = 'RAW' | 'HTML' | 'IMAGE' | 'MARKDOWN' | 'DIVIDER' | 'INFO' | 'WARNING' | 'ERROR';
export declare type renderModeType =
	| 'TEXT'
	| 'HEADING1'
	| 'HEADING2'
	| 'HEADING3'
	| 'HEADING4'
	| 'HEADING5'
	| 'HEADING6'
	| 'PARAGRAPH';
export const rawProps = {
	name: {
		type: String,
	},
	value: {
		type: String,
	},
	//输入内容类型
	contentType: {
		type: String as PropType<contentType>,
		default: 'RAW',
	},
	//图标类
	iconClass: {
		type: String,
	},
	imgPath: {
		type: String,
	},
	caption: {
		type: String,
	},
	//直接内容详情
	rawItemDetail: {
		type: Object as PropType<IParam>,
	},
	// 警告提示参数
	alertParams: {
		type: Object as PropType<IParam>
	},
	dividerParams:{
		type: Object as PropType<IParam>,
		default: {
			contentPosition:'center',
			html: '',
		}
	}
};
